<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>修改{$field.title}</title>
	<script type="text/javascript" src="__STATIC__/hdjs/jquery-1.8.2.min.js"></script>
    <link rel="stylesheet" href="__STATIC__/hdjs/hdjs.css"/>
    <script type="text/javascript" src="__STATIC__/hdjs/hdjs.min.js"></script>
    <css file='__STATIC__/kindeditor/themes/default/default.css' />
	<js file='__STATIC__/kindeditor/kindeditor-min.js' />
	<script>
		KindEditor.ready(function(K) {
			var editor1 = K.create('textarea[name="content"]', {
				height : '320px',
				width : '900px',
				uploadJson : "{|U:'Files/upload'}",
				fileManagerJson : "{|U:'Files/manager'}",
				allowFileManager : true,
			});
		});
	</script>
</head>
<body>
	<div class='hd-title-header'><h2>修改{$field.title}</h2></div>
	<form action="{|U:'edit'}" method='post' enctype='multipart/form-data'>
		<input type='hidden' name='id' value='{$field.id}'>
		<table class="hd-table hd-table-form hd-form">
			<tr>
				<td align="right">标题</td>
				<td>
					<input type="text" class="hd-w400 hd-h30" name='title' value='{$field.title}'/>
				</td>
			</tr>
			<tr>
				<td align="right">正文</td>
				<td>
					<textarea name="content" id="content" >{$field.content|stripslashes}</textarea>
				</td>
			</tr>
			<tr>
				<td align="center" colspan="2">
					<input type="submit" value='保存添加' class='hd-btn hd-btn-primary' />
				</td>
			</tr>
		</table>
	</form>
</body>
</html>